package com.imooc.pojo.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author lihongyu
 * @CreateTime 2021-08-10 14:36
 * @Description 子分类视图封装实体
 */
@ApiModel("子分类视图封装实体")
public class SubCategoryVO implements Serializable {

    /**
     * 子分类编码
     */
    @ApiModelProperty(value = "子分类编码",name = "subId",dataType = "Integer")
    private Integer subId;

    /**
     * 子分类名称
     */
    @ApiModelProperty(value = "子分类名称",name = "subName",dataType = "String")
    private String subName;

    /**
     * 子分类层级
     */
    @ApiModelProperty(value = "子分类层级",name = "subType",dataType = "String")
    private String subType;

    /**
     * 子分类父编码
     */
    @ApiModelProperty(value = "子分类父编码",name = "subFatherId",dataType = "Integer")
    private Integer subFatherId;

    public Integer getSubId() {
        return subId;
    }

    public void setSubId(Integer subId) {
        this.subId = subId;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getSubType() {
        return subType;
    }

    public void setSubType(String subType) {
        this.subType = subType;
    }

    public Integer getSubFatherId() {
        return subFatherId;
    }

    public void setSubFatherId(Integer subFatherId) {
        this.subFatherId = subFatherId;
    }
}
